
package com.xbongbong.pro.domain.dao;

import com.xbongbong.pro.domain.entity.ChartCategoryTextEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;


/**
 * @ClassName ChartCategoryTextDao
 * @Description 文件组件
 * @Author mengna.Deng
 * @Date 2021/9/28 15:18
 * @Version 1.0
 */
@Repository
@Mapper
public interface ChartCategoryTextDao {

    Integer insert(ChartCategoryTextEntity chartCategory);

    Integer insertBatch(@Param("list") List<ChartCategoryTextEntity> list);

    Integer updateBatch(@Param("list") List<ChartCategoryTextEntity> list, @Param("corpid") String corpid);

    Integer update(ChartCategoryTextEntity chartCategory);

    List<ChartCategoryTextEntity> findEntitys(@Param("param") Map<String, Object> param);

    Integer getEntitysCount(@Param("param") Map<String, Object> param);

    ChartCategoryTextEntity getById(@Param("id") Long id, @Param("corpid") String corpid);
}